﻿using System;

using EHSubmit.Model;

namespace EHSubmit.Logic.Services
{
    /// <summary>
    /// 远程用户服务代理
    /// </summary>
    public interface IRemoteUserProxy
    {
        /// <summary>
        /// 远程验证用户
        /// </summary>
        /// <param name="id">用户ID</param>
        /// <param name="pwd">用户密码(明文)</param>
        /// <param name="type">用户类型</param>
        /// <returns>用户对象,验证失败返回空</returns>
        User Check(string id, string pwd, int type);
    }
}